package com.zhiyou100.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 作者：王宇航
 * 作用：跳转页面
 * 
 * @author 10172
 *
 *
 */

@Controller
public class PageController {

	@RequestMapping("{path}.do")
	public String page(@PathVariable String path) {
		if (path!=null&&path.contains("gyzc-list")) {
			return "forward:selectGyzc.do?go=1";
		}
		return path;
	}
}
